﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("OAFileManage", "OAFileManage", new string[] { "FILEID" })]
    [KnownType(typeof(OAFileSystem))]
    public class OAFileManage : MB.Orm.Common.BaseModel
    {
        public OAFileManage()
        {
        }
        private int _FILEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILEID", System.Data.DbType.Int32)]
        public int FILEID
        {
            get { return _FILEID; }
            set { _FILEID = value; }
        }
        private int _SYSTEMID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SYSTEMID", System.Data.DbType.Int32)]
        public int SYSTEMID
        {
            get { return _SYSTEMID; }
            set { _SYSTEMID = value; }
        }
        private string _SYSTEMNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SYSTEMNAME", System.Data.DbType.String)]
        public string SYSTEMNAME
        {
            get { return _SYSTEMNAME; }
            set { _SYSTEMNAME = value; }
        }


        private int _MODULARID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MODULARID", System.Data.DbType.Int32)]
        public int MODULARID
        {
            get { return _MODULARID; }
            set { _MODULARID = value; }
        }

        private string _MODULARNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MODULARNAME", System.Data.DbType.String)]
        public string MODULARNAME
        {
            get { return _MODULARNAME; }
            set { _MODULARNAME = value; }
        }
        private DateTime _FILEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILEDATE", System.Data.DbType.DateTime)]
        public DateTime FILEDATE
        {
            get { return _FILEDATE; }
            set { _FILEDATE = value; }
        }

        private string _FILEURL;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILEURL", System.Data.DbType.String)]
        public string FILEURL
        {
            get { return _FILEURL; }
            set { _FILEURL = value; }
        }
        private string _FILENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILENAME", System.Data.DbType.String)]
        public string FILENAME
        {
            get { return _FILENAME; }
            set { _FILENAME = value; }
        }
        private string _USERCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERCODE", System.Data.DbType.String)]
        public string USERCODE
        {
            get { return _USERCODE; }
            set { _USERCODE = value; }
        }
        private string _USERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERNAME", System.Data.DbType.String)]
        public string USERNAME
        {
            get { return _USERNAME; }
            set { _USERNAME = value; }
        }
        private string _FILEFORMAT;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILEFORMAT", System.Data.DbType.String)]
        public string FILEFORMAT
        {
            get { return _FILEFORMAT; }
            set { _FILEFORMAT = value; }
        }
        private string _FILETYPE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILETYPE", System.Data.DbType.String)]
        public string FILETYPE
        {
            get { return _FILETYPE; }
            set { _FILETYPE = value; }
        }
        private string _FILEREMARKS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILEREMARKS", System.Data.DbType.String)]
        public string FILEREMARKS
        {
            get { return _FILEREMARKS; }
            set { _FILEREMARKS = value; }
        }
        private DateTime _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }
    }
}
